... example, “A young man sits down at a table to eat a meal” aria-labelledby=descriptionAreaLabel data-l10n-id=pdfjs-editor-alt-text-textarea tabindex=0 ...
This tutorial shows how PDF.js can be used as a library in a web browser. examples/ provides more examples, including usage in Node.js (at examples/node/).
You can definitely place viewer.html in a <div>. Start with the source and wrap <div id=outerContainer> in your own <div>, which you can then style to your ...